package at.jku.ase.utils;

public abstract class OpWithParameterThrowsException<T> {

    public abstract T op() throws Exception;

    public T execute() {
        try {
            return op();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
}
